﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/4 14:09:27
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 * Description：关联推荐，用于空书架中的“大家都在看”等
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class TopBigBook
    {
        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }

        [DataMember(Name = "bigbook_id")]
        public int BigbookId { get; set; }

        [DataMember(Name = "bigbook_name")]
        public string BigbookName { get; set; }
    }

    [DataContract]
    public class JsonComicRelationRecomInfo
    {
        [DataMember(Name = "topBigBooks")]
        public ObservableCollection<TopBigBook> TopBigBooks { get; set; }
    }

    [DataContract]
    public class JsonComicRelationRecom
    {
        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicRelationRecomInfo Info { get; set; }
    }
}
